package com.qeegoo.b2bautozityp.moudle.home.model;

/**
 * Created by HongQian.Wang on 2017/10/23.
 */

public class CheckUpdateBean {


    /**
     * status : {"code":"0000","is_update":9,"message":"检测到新的版本,建议您立即更新！","updateUrl":"http://app.autozi.com/servlet/appqrcode.do?platformType=android&appType=bkpsy"}
     */

    private StatusBean status;

    public StatusBean getStatus() {
        return status;
    }

    public void setStatus(StatusBean status) {
        this.status = status;
    }

    public static class StatusBean {
        /**
         * code : 0000
         * is_update : 9
         * message : 检测到新的版本,建议您立即更新！
         * updateUrl : http://app.autozi.com/servlet/appqrcode.do?platformType=android&appType=bkpsy
         */

        private String code;
        private int is_update;
        private String message;
        private String updateUrl;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public boolean isSuccess() {
            return code.equals("0000");
        }

        public int getIs_update() {
            return is_update;
        }

        public void setIs_update(int is_update) {
            this.is_update = is_update;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public String getUpdateUrl() {
            return updateUrl;
        }

        public void setUpdateUrl(String updateUrl) {
            this.updateUrl = updateUrl;
        }
    }
}
